Crate bdk_macros[][src]

Macros

await_or_block

Awaits if target_arch is “wasm32”, uses tokio::Runtime::block_on() otherwise

maybe_await

Awaits if target_arch is “wasm32”, does nothing otherwise

Attribute Macros

maybe_async

Makes a method or every method of a trait “async” only if the target_arch is “wasm32”